package com.qjdchina.sku.dao.mapper;

import org.apache.ibatis.annotations.Param;

import com.qjdchina.sku.model.CategoryBrand;

public interface CategoryBrandMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CategoryBrand record);

    int insertSelective(CategoryBrand record);

    CategoryBrand selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CategoryBrand record);

    int updateByPrimaryKey(CategoryBrand record);
    
    /**
     * 根据skuBrandId获取
     * shenpingfeng
     * 2017年1月11日
     * @param skuBrandId
     * @return
     */
    CategoryBrand selectBySkuBrandIdAndSkuCategoryId(@Param("skuBrandId") Integer skuBrandId,@Param("skuCategoryId") Integer skuCategoryId);
        
}